package com.ruoyi.common.client;

import com.dtflys.forest.annotation.Get;
import com.ruoyi.common.vo.StockResponse;

/**
 * 获取股票数据
 * @author zhangcunlei
 */
public interface StockClient {
    
    /**
     * 获取股票基础信息
     * @return 数据
     */
    @Get(url = "https://api.doctorxiong.club/v1/stock?code=${0}", dataType = "json")
    StockResponse getStock(String code);

}